package de.lns.tick;

import java.util.ArrayList;

import de.lns.render.RenderQueue;
import de.lns.render.Renderable;

public class MenuState extends State {
	//Class variable initialization.
	private static MenuState active;
	//Set active on first call to this class.
	static{
		ArrayList<Renderable> list = new ArrayList<>();
		//TODO:add Map, Mobs and Overlay
		RenderQueue queue = new RenderQueue(list);
		active = new MenuState(queue);
	}
	
	//Instance variable initialization
	
	
	/**
	 * Hidden constructor, since
	 * this class uses the singleton pattern.
	 */
	private MenuState(RenderQueue queue) {
		super(queue);
		// TODO Auto-generated constructor stub
	}

	@Override
	protected void update() {
		// TODO Auto-generated method stub
	}

	@Override
	protected void activated() {
		// TODO Auto-generated method stub
		
	}
	
	public static MenuState active(){
		return active;
	}

	@Override
	public void mouse(MouseEvent m) {
		Menu.mouse(m);
	}

	@Override
	public void key(KeyEvent k) {
		Menu.key(k);
	}
	
}
